<template>
	<view class="p-3">
		<view class="bt-block">
			<bg-cell2 :border='false'  label="项目编号" :value="obj.projectNo"></bg-cell2>
		</view>
		<view class="bt-block mt-3">
			<bg-cell2  label="项目名称" :value="obj.projectName"></bg-cell2>
			<bg-cell2   label="项目地址" :value="obj.projectAddr" ></bg-cell2>
			<bg-cell2   label="项目规模" :value="obj.projectScale"></bg-cell2>
			<bg-cell2   label="合同金额" :value="obj.contractAmount"></bg-cell2>
			<bg-cell2   label="发包单位" :value="obj.employer"></bg-cell2>
			<bg-cell2 :border='false'  label="分包单位" :value="obj.subcontractor"></bg-cell2>
		</view>
		<view class="bt-block mt-3">
			<!-- <bg-cell2   label="项目经理" :value="obj.projectManagerUserName"></bg-cell2> -->
			<!-- <bg-cell2   label="生产经理" :value="obj.productionManagerUserName"></bg-cell2> -->
			<!-- <bg-cell2   label="技术总工" :value="obj.chiefEngineerUserName"></bg-cell2> -->
			<bg-cell2   label="安全管理员" :value="obj.safetyManagerUserName"></bg-cell2>
			<bg-cell2   label="财务管理员" :value="obj.financeManagerUserName"></bg-cell2>
			<!-- <bg-cell2 :border='false'  label="项目管理员" :value="obj.projectAdminUserName"></bg-cell2> -->
		</view>
	</view>
</template>

<script>
	export default {
		mounted() {
			const eventChannel = this.getOpenerEventChannel();
			eventChannel.on('acceptDataFromOpener', (res) => {
				this.obj = res.data
			})
		},
		data() {
			return {
				obj:{"id":1,"createTime":"2025-01-13 15:42:46","updateTime":"2025-01-13 18:14:54","createBy":"admin","updateBy":"admin","projectNo":"15839657","projectName":"单独发的","projectAddr":"第三方大幅度时高时低","projectScale":"10亿","contractAmount":"10亿","employer":"蓄势待发第三方","subcontractor":"第三方第三方第三方","projectManagerUserId":1,"projectManagerUserName":"崇道","productionManagerUserId":100,"productionManagerUserName":"test","chiefEngineerUserId":1,"chiefEngineerUserName":"崇道","financeManagerUserId":1,"financeManagerUserName":"崇道","projectAdminUserId":1,"projectAdminUserName":"崇道","safetyDocUrl":"20250113/6dc865a0f9954258a2356abd1bbaf00b.pdf","managementCosts":null,"otherCosts":null,"taxInclusiveReceivedPayment":null,"taxInclusiveReceivablePayment":null,"invoicedAmount":null,"invoiceUnpaidAmount":null,"isSettlement":"0"}
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
